﻿Public Class PivotQuery

    Public Property Source As String = "maintable"

    Public Property GroupRows As List(Of String) = New List(Of String)()

    Public Property AggregateRows As List(Of Aggregate) = New List(Of Aggregate)()

    Public Structure Aggregate

        Public Property Column As String

        Public Property [Function] As String

    End Structure

End Class
